package student

import "fmt"

type Teacher struct {
	SchoolName string
	Address    string
	SchoolType string
	Age        int
}

func (teacher *Teacher) teacherPrinter() {
	fmt.Println("-------------------------")
	fmt.Println("教师姓名: %s", teacher.SchoolName)
	fmt.Println("教师地址: %s", teacher.Address)
	fmt.Println("教师类型: %s", teacher.SchoolType)
	fmt.Println("教师年龄: %d", teacher.Age)
	fmt.Println("-------------------------")
}

func (teacher *Teacher) inicrementAge() {
	teacher.Age++
}
